#ifndef LOGINDIALOG_H
#define LOGINDIALOG_H

#include <QDialog>

namespace Ui {
class LoginDialog;
}

class LoginDialog : public QDialog
{
    Q_OBJECT

public:
    explicit LoginDialog(QWidget *parent = nullptr);
    ~LoginDialog();
    void tipWrong();

private slots:
    void on_submitBtn_clicked();

private:
    Ui::LoginDialog *ui;
    virtual void closeEvent(QCloseEvent *event) override;

signals:
    void sendUsername(QString username);
    void sendPassword(QString password);
};

#endif // LOGINDIALOG_H
